package com.woniuxy.microcontentserver.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class AdvertiseBean implements Serializable {
    private Long id;                  //广告id
    private String name;             //广告名称
    private String image;           //商品图片
    private String jumpAddress;     //跳转地址
    private String position;        //广告位置
    private Integer status;         //上线状态  0：不上线 1：上线
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date advertiseTime;         //广告时间

}
